#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_rotozoom.h>
#include "Fonctions.h"

int Config_Menu(void);

ST_IHM* pSeg;

SDL_Surface* screen;

SDL_Surface* Image_fond;
SDL_Surface* Bouton1;
SDL_Surface* Bouton2;
SDL_Surface* Bouton3;
SDL_Surface* Bouton4;
SDL_Surface* Surf_BoutonQuitter;
TTF_Font* Police_Titre;
TTF_Font* Police_Bouton;
TTF_Font* Police_Regles;

SDL_Surface* TextSurface;
SDL_Color TextRouge;
SDL_Color TextNoir;
SDL_Color TextBlanc;
SDL_Color TextJaune;

SDL_Surface* TextBouton1;
SDL_Surface* TextBouton2;
SDL_Surface* TextBouton3;
SDL_Surface* TextBouton4;
SDL_Surface* Surf_TextQuitter;
SDL_Surface* TextTaper;
SDL_Surface* TextPoser;
SDL_Surface* Surf_NomJoueur[4];

SDL_Surface* Affiche_FichierRegles;
SDL_Rect Titre;
SDL_Rect TextNew_Game;
SDL_Rect TextConfig;
SDL_Rect TextChain_Backward;
SDL_Rect TextQuitter;
SDL_Rect Rect_Quitter;
SDL_Rect Rect_TextQuitter;
SDL_Rect TextRegles;
SDL_Rect Rect_NomJoueur[4];

SDL_Rect RectTaper;
SDL_Rect RectPoser;

TTF_Font* MainScreen;
SDL_Rect rect1;
SDL_Rect rect2;
SDL_Rect rect3;
SDL_Rect rect4;
SDL_Rect dstrect;

SDL_Surface* Image_fond_Game;
SDL_Rect doscarte1[4];
SDL_Rect doscarte2[4];
SDL_Rect doscarte3[4];
SDL_Rect doscarte4[4];
SDL_Rect Carte1;
SDL_Rect Carte2;
SDL_Rect Carte3;

SDL_Rect Push1;
SDL_Rect Push2;

SDL_Rect RectJeton[4];

key_t cle,shmid;
